MailPoet\Newsletter\Editor\PostTransformerContentsExtractor S

Total Complexity 41
Dependencies 7
Dependents 1
Total lines 255
Lines of code 189
Logical lines of code 93
Comment lines 30
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
getContent()
A
49 8 29
getTitle()
S
45 6 43
addProductDataToContent()
S
54 6 20
getFeaturedImage()
S
47 4 37
getReadMoreButton()
S
55 4 20
getPrice()
S
59 4 15
isProduct()
S
79 2 3
isWcProduct()
S
78 2 3
isPostTypeProduct()
S
79 2 3
__construct()
S
73 1 5
getImageInfo()
S
67 1 8
sanitizeTitle()
S
79 1 3